package com.example.crossborderecommerce.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.crossborderecommerce.entity.CustomerOrder;
import com.example.crossborderecommerce.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    public List<Product> getProductByPage(Page<Product> page,
                                          @Param("name") String name,
                                          @Param("brandName") String brandName,
                                          @Param("categoryId") String categoryId);
}
